/* 全局样式 */
page, view, text, image, navigator, swiper, swiper-item, scroll-view, 
movableView, movableArea, coverView, coverImage, icon, progress, 
button, form, input, label, picker, pickerView, radio, radioGroup, 
checkbox, checkboxGroup, slider, switch, textarea, navigator, audio,
camera, image, video, map, web-view, ad {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 全局背景色设置 */
.uni-app--showtabbar {
  background: linear-gradient(to bottom, #ecffff, #f5ffff) no-repeat;
  background-size: 100% 100%;
}

/* 页面容器样式 */
.uni-app--showtabbar .uni-app__page {
  background: transparent;
}

// 底部导航栏样式
.u-tabbar__content {
  background: linear-gradient(to bottom, #f5ffff, #fbffff) no-repeat;
}

/* 安全区域适配 */
:root {
  --status-bar-height: 0px;
}

/* #ifdef MP-WEIXIN */
:root {
  --status-bar-height: env(safe-area-inset-top);
}
/* #endif */

/* 提高uni.showToast的z-index确保显示在最上层 */
uni-toast {
  z-index: 19999 !important;
}